package com.xin.springcloudconsumer.form;

import lombok.Data;

import javax.validation.constraints.NotNull;


@Data
public class EventForm {

    private String openId;

    private Integer status; //状态 0为开启 1为关闭
    @NotNull(message = "标题不能为空!")
    private String title;  //标题
    @NotNull(message = "内容不能为空!")
    private String content;//内容
    @NotNull(message = "时间不能为空!")
    private String time;  //事件时间
}
